package com.zzxy.spring2g.service.impl;
import com.zzxy.spring2g.service.IUserService;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements IUserService{


    private String username;

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    @Override
    public void addUser() {
        System.out.println("add user succes..." + username);

    }
}

